a=0
b=0
c=0
S='HelloPythonHelloJavahellophp'
for i in S:
    if i in S.upper():
        a=a+1
    elif i in S.lower():
        b=b+1
    else:
        c=c+1
print('大写的字符个数',a,'小写的字符个数',b,'其他字符个数',c)
